package main

import (
	"fmt"
	"os"
)

func main() {
	defer func() {
		if erro := recover(); erro != nil {
			fmt.Println(erro)
		}
	}()
	var name [512]byte
	fmt.Printf("Please Input Your Name : ")
	_, err := os.Stdin.Read(name[:])
	if err != nil {
		panic(err)
	}
	var Name []byte
	for _, v := range name {
		if v == 0 {
			break
		}
		Name = append(Name, v)
	}
	fmt.Printf("Hello, %s", Name)
}
